//
//  SoilAndLightTypeViewController.h
//  PlotMate
//
//  Created by Brian Boyle on 05/04/2012.
//  Copyright (c) 2012 Brian Boyle. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol SoilAndLightTypeDelegate <NSObject>

-(void)soilOrLightSelectedWithValue:(NSString *)value;

@end

@interface SoilAndLightTypeViewController : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource> {
    @private
    NSString *selectedItem;
    id <SoilAndLightTypeDelegate> delegate;
}
@property (weak, nonatomic) IBOutlet UILabel *headingLabel;
@property (weak, nonatomic) IBOutlet UIPickerView *picker;
@property (strong, nonatomic) NSArray *pickerArray;
@property (assign) id <SoilAndLightTypeDelegate> delegate;
@property (nonatomic, strong) NSString *headingText;

- (IBAction)cancelButtonPressed:(UIBarButtonItem *)sender;
- (IBAction)doneButtonPressed:(UIBarButtonItem *)sender;
@end
